package course.com.itheima1;

public class houseKeeping {
    private String name;
    private String age;

    private class Cook{
        private String name;
        private String age;
        private String Gage;
        private String gender;

        public void cook(){
            System.out.println("做饭");
        }

    }

    static class Drink{
        public void drink(){
            System.out.println("喝水");
        }
    }

    public void show(){
        Cook cook = new Cook();
        cook.cook();
    }
}
